package com.yjt.sousou.detail.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.yjt.sousou.base.BaseEntity;
import com.yjt.sousou.create.entity.FaultTypeSelect;

import java.util.ArrayList;
import java.util.List;

/**
 * 作者：83734
 * 时间：2018/12/3
 * 描述：
 */
public class OrderDetail extends BaseEntity {
    /**
     * page : 1
     * count : 20
     * pages : 1
     * sql : SELECT id,weixiuyuan,yuanyin,didian,quyu,bumen,baoxiu,rlevel,wxzt,gzlx_type,gzlx,create_time,appointment_time,orderid,gz_file_ids,wc_file_ids,end_time,collection,collection_note,bh_beizhu,gongzuomiaoshu,pj_time,pingjia_beizhu,zhuangtai,fuyouping FROM jilu  where 1 and id in(1)  LIMIT 0 , 20
     * data : [{"id":"1","weixiuyuan":"","yuanyin":"水电基建-门锁更换配件 ( 测试工单 )","didian":"1","quyu":"一区 - 商品部","bumen":"1","baoxiu":"工程部 - admin","rlevel":"1","wxzt":"1","gzlx_type":"1","gzlx":"18","create_time":"1543718270","appointment_time":"","orderid":"20181202001","gz_file_ids":"45,46","wc_file_ids":"","end_time":"","collection":"0","collection_note":"","bh_beizhu":"","gongzuomiaoshu":"","pj_time":"","pingjia_beizhu":"","zhuangtai":"未修好","fuyouping":"良","vtime":"12/02 10:37","vtime_all":"2018/12/02 10:37","rlevel_name":"紧急","wxzt_name":"待扩展","gzlx_type_name":"水电基建","end_time_name":"","pj_time_name":"","peijian_con":[],"gz_file_jpg_arr":[{"file_path":"http://47.104.0.85/upload/5c034533ba3d5.jpg","thumb_pic":"http://47.104.0.85/upload/5c034533ba3d5.jpg","file_type":"jpg"},{"file_path":"http://47.104.0.85/upload/5c03456d8cd25.jpg","thumb_pic":"http://47.104.0.85/upload/5c03456d8cd25.jpg","file_type":"jpg"}],"gz_file_mp3_arr":[],"gz_file_mp4_arr":[],"wc_file_jpg_arr":[],"wc_file_mp3_arr":[],"wc_file_mp4_arr":[],"log":[{"time_name_d":"2018/12/02","time_name_h":"10:37","content":"admin新建工单，报修人为:admin"}]}]
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * weixiuyuan :
         * yuanyin : 水电基建-门锁更换配件 ( 测试工单 )
         * didian : 1
         * quyu : 一区 - 商品部
         * bumen : 1
         * baoxiu : 工程部 - admin
         * rlevel : 1
         * wxzt : 1
         * gzlx_type : 1
         * gzlx : 18
         * create_time : 1543718270
         * appointment_time :
         * orderid : 20181202001
         * gz_file_ids : 45,46
         * wc_file_ids :
         * end_time :
         * collection : 0
         * collection_note :
         * bh_beizhu :
         * gongzuomiaoshu :
         * pj_time :
         * pingjia_beizhu :
         * zhuangtai : 未修好
         * fuyouping : 良
         * vtime : 12/02 10:37
         * vtime_all : 2018/12/02 10:37
         * rlevel_name : 紧急
         * wxzt_name : 待扩展
         * gzlx_type_name : 水电基建
         * end_time_name :
         * pj_time_name :
         * peijian_con : []
         * gz_file_jpg_arr : [{"file_path":"http://47.104.0.85/upload/5c034533ba3d5.jpg","thumb_pic":"http://47.104.0.85/upload/5c034533ba3d5.jpg","file_type":"jpg"},{"file_path":"http://47.104.0.85/upload/5c03456d8cd25.jpg","thumb_pic":"http://47.104.0.85/upload/5c03456d8cd25.jpg","file_type":"jpg"}]
         * gz_file_mp3_arr : []
         * gz_file_mp4_arr : []
         * wc_file_jpg_arr : []
         * wc_file_mp3_arr : []
         * wc_file_mp4_arr : []
         * log : [{"time_name_d":"2018/12/02","time_name_h":"10:37","content":"admin新建工单，报修人为:admin"}]
         */

        private String id;
        private String weixiuyuan;
        private String weixiuyuan_ids;
        private String yuanyin;
        private String didian;
        private String quyu;
        private String bumen;
        private String baoxiu;
        private String rlevel;
        private String wxzt;
        private String gzlx_type;
        private String gzlx;
        private String create_time;
        private String appointment_time;
        private String appointment_time_name;
        private String orderid;
        private String gz_file_ids;
        private String wc_file_ids;
        private String end_time;
        private String collection;
        private String collection_note;
        private String bh_beizhu;
        private String beizhu ;
        private String gongzuomiaoshu;
        private String pj_time;
        private String pingjia_beizhu;
        private String zhuangtai;
        private String fuyouping;
        private String vtime;
        private String vtime_all;
        private String rlevel_name;
        private String wxzt_name;
        private String gzlx_type_name;
        private String end_time_name;
        private String pj_time_name;
        private String youping;
        private String youping_name;
        private String collection_name;
        private String pg_time_name;
        private String pj_name;
        private String jiedan_time_name;
        private ArrayList<PeiJianBean> peijian_con;
        private List<FileBean> gz_file_jpg_arr;
        private List<FileBean> gz_file_mp3_arr;
        private List<FileBean> gz_file_mp4_arr;
        private List<FileBean> wc_file_jpg_arr;
        private List<FileBean> wc_file_mp3_arr;
        private List<FileBean> wc_file_mp4_arr;
        private List<ButtonData> button_arr;
        private ArrayList<FaultTypeSelect> faulttype_info;
        private ArrayList<LogBean> log;

        public String getAppointment_time_name() {
            return appointment_time_name;
        }

        public String getWeixiuyuan_ids() {
            return weixiuyuan_ids;
        }

        public void setWeixiuyuan_ids(String weixiuyuan_ids) {
            this.weixiuyuan_ids = weixiuyuan_ids;
        }

        public void setAppointment_time_name(String appointment_time_name) {
            this.appointment_time_name = appointment_time_name;
        }

        public List<ButtonData> getButton_arr() {
            return button_arr;
        }

        public void setButton_arr(List<ButtonData> button_arr) {
            this.button_arr = button_arr;
        }

        public String getBeizhu() {
            return beizhu;
        }

        public void setBeizhu(String beizhu) {
            this.beizhu = beizhu;
        }

        public ArrayList<FaultTypeSelect> getFaulttype_info() {
            return faulttype_info;
        }

        public void setFaulttype_info(ArrayList<FaultTypeSelect> faulttype_info) {
            this.faulttype_info = faulttype_info;
        }

        public String getJiedan_time_name() {
            return jiedan_time_name;
        }

        public void setJiedan_time_name(String jiedan_time_name) {
            this.jiedan_time_name = jiedan_time_name;
        }

        public String getPj_name() {
            return pj_name;
        }

        public void setPj_name(String pj_name) {
            this.pj_name = pj_name;
        }

        public String getPg_time_name() {
            return pg_time_name;
        }

        public void setPg_time_name(String pg_time_name) {
            this.pg_time_name = pg_time_name;
        }

        public String getCollection_name() {
            return collection_name;
        }

        public void setCollection_name(String collection_name) {
            this.collection_name = collection_name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getWeixiuyuan() {
            return weixiuyuan;
        }

        public void setWeixiuyuan(String weixiuyuan) {
            this.weixiuyuan = weixiuyuan;
        }

        public String getYuanyin() {
            return yuanyin;
        }

        public void setYuanyin(String yuanyin) {
            this.yuanyin = yuanyin;
        }

        public String getDidian() {
            return didian;
        }

        public void setDidian(String didian) {
            this.didian = didian;
        }

        public String getQuyu() {
            return quyu;
        }

        public void setQuyu(String quyu) {
            this.quyu = quyu;
        }

        public String getBumen() {
            return bumen;
        }

        public void setBumen(String bumen) {
            this.bumen = bumen;
        }

        public String getBaoxiu() {
            return baoxiu;
        }

        public void setBaoxiu(String baoxiu) {
            this.baoxiu = baoxiu;
        }

        public String getRlevel() {
            return rlevel;
        }

        public void setRlevel(String rlevel) {
            this.rlevel = rlevel;
        }

        public String getWxzt() {
            return wxzt;
        }

        public void setWxzt(String wxzt) {
            this.wxzt = wxzt;
        }

        public String getGzlx_type() {
            return gzlx_type;
        }

        public void setGzlx_type(String gzlx_type) {
            this.gzlx_type = gzlx_type;
        }

        public String getGzlx() {
            return gzlx;
        }

        public void setGzlx(String gzlx) {
            this.gzlx = gzlx;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getAppointment_time() {
            return appointment_time;
        }

        public void setAppointment_time(String appointment_time) {
            this.appointment_time = appointment_time;
        }

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public String getGz_file_ids() {
            return gz_file_ids;
        }

        public void setGz_file_ids(String gz_file_ids) {
            this.gz_file_ids = gz_file_ids;
        }

        public String getWc_file_ids() {
            return wc_file_ids;
        }

        public void setWc_file_ids(String wc_file_ids) {
            this.wc_file_ids = wc_file_ids;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getCollection() {
            return collection;
        }

        public void setCollection(String collection) {
            this.collection = collection;
        }

        public String getCollection_note() {
            return collection_note;
        }

        public void setCollection_note(String collection_note) {
            this.collection_note = collection_note;
        }

        public String getBh_beizhu() {
            return bh_beizhu;
        }

        public void setBh_beizhu(String bh_beizhu) {
            this.bh_beizhu = bh_beizhu;
        }

        public String getGongzuomiaoshu() {
            return gongzuomiaoshu;
        }

        public void setGongzuomiaoshu(String gongzuomiaoshu) {
            this.gongzuomiaoshu = gongzuomiaoshu;
        }

        public String getYouping() {
            return youping;
        }

        public void setYouping(String youping) {
            this.youping = youping;
        }

        public String getYouping_name() {
            return youping_name;
        }

        public void setYouping_name(String youping_name) {
            this.youping_name = youping_name;
        }

        public String getPj_time() {
            return pj_time;
        }

        public void setPj_time(String pj_time) {
            this.pj_time = pj_time;
        }

        public String getPingjia_beizhu() {
            return pingjia_beizhu;
        }

        public void setPingjia_beizhu(String pingjia_beizhu) {
            this.pingjia_beizhu = pingjia_beizhu;
        }

        public String getZhuangtai() {
            return zhuangtai;
        }

        public void setZhuangtai(String zhuangtai) {
            this.zhuangtai = zhuangtai;
        }

        public String getFuyouping() {
            return fuyouping;
        }

        public void setFuyouping(String fuyouping) {
            this.fuyouping = fuyouping;
        }

        public String getVtime() {
            return vtime;
        }

        public void setVtime(String vtime) {
            this.vtime = vtime;
        }

        public String getVtime_all() {
            return vtime_all;
        }

        public void setVtime_all(String vtime_all) {
            this.vtime_all = vtime_all;
        }

        public String getRlevel_name() {
            return rlevel_name;
        }

        public void setRlevel_name(String rlevel_name) {
            this.rlevel_name = rlevel_name;
        }

        public String getWxzt_name() {
            return wxzt_name;
        }

        public void setWxzt_name(String wxzt_name) {
            this.wxzt_name = wxzt_name;
        }

        public String getGzlx_type_name() {
            return gzlx_type_name;
        }

        public void setGzlx_type_name(String gzlx_type_name) {
            this.gzlx_type_name = gzlx_type_name;
        }

        public String getEnd_time_name() {
            return end_time_name;
        }

        public void setEnd_time_name(String end_time_name) {
            this.end_time_name = end_time_name;
        }

        public String getPj_time_name() {
            return pj_time_name;
        }

        public void setPj_time_name(String pj_time_name) {
            this.pj_time_name = pj_time_name;
        }

        public ArrayList<PeiJianBean> getPeijian_con() {
            return peijian_con;
        }

        public void setPeijian_con(ArrayList<PeiJianBean> peijian_con) {
            this.peijian_con = peijian_con;
        }

        public List<FileBean> getGz_file_jpg_arr() {
            return gz_file_jpg_arr;
        }

        public void setGz_file_jpg_arr(List<FileBean> gz_file_jpg_arr) {
            this.gz_file_jpg_arr = gz_file_jpg_arr;
        }

        public List<FileBean> getGz_file_mp3_arr() {
            return gz_file_mp3_arr;
        }

        public void setGz_file_mp3_arr(List<FileBean> gz_file_mp3_arr) {
            this.gz_file_mp3_arr = gz_file_mp3_arr;
        }

        public List<FileBean> getGz_file_mp4_arr() {
            return gz_file_mp4_arr;
        }

        public void setGz_file_mp4_arr(List<FileBean> gz_file_mp4_arr) {
            this.gz_file_mp4_arr = gz_file_mp4_arr;
        }

        public List<FileBean> getWc_file_jpg_arr() {
            return wc_file_jpg_arr;
        }

        public void setWc_file_jpg_arr(List<FileBean> wc_file_jpg_arr) {
            this.wc_file_jpg_arr = wc_file_jpg_arr;
        }

        public List<FileBean> getWc_file_mp3_arr() {
            return wc_file_mp3_arr;
        }

        public void setWc_file_mp3_arr(List<FileBean> wc_file_mp3_arr) {
            this.wc_file_mp3_arr = wc_file_mp3_arr;
        }

        public List<FileBean> getWc_file_mp4_arr() {
            return wc_file_mp4_arr;
        }

        public void setWc_file_mp4_arr(List<FileBean> wc_file_mp4_arr) {
            this.wc_file_mp4_arr = wc_file_mp4_arr;
        }

        public ArrayList<LogBean> getLog() {
            return log;
        }

        public void setLog(ArrayList<LogBean> log) {
            this.log = log;
        }

        public static class FileBean {
            /**
             * file_path : http://47.104.0.85/upload/5c034533ba3d5.jpg
             * thumb_pic : http://47.104.0.85/upload/5c034533ba3d5.jpg
             * file_type : jpg
             */

            private String file_path;
            private String thumb_pic;
            private String file_type;

            public String getFile_path() {
                return file_path;
            }

            public void setFile_path(String file_path) {
                this.file_path = file_path;
            }

            public String getThumb_pic() {
                return thumb_pic;
            }

            public void setThumb_pic(String thumb_pic) {
                this.thumb_pic = thumb_pic;
            }

            public String getFile_type() {
                return file_type;
            }

            public void setFile_type(String file_type) {
                this.file_type = file_type;
            }
        }

        public static class LogBean implements Parcelable {
            /**
             * time_name_d : 2018/12/02
             * time_name_h : 10:37
             * content : admin新建工单，报修人为:admin
             */
            private String time_name_d;
            private String time_name_h;
            private String content;

            protected LogBean(Parcel in) {
                time_name_d = in.readString();
                time_name_h = in.readString();
                content = in.readString();
            }

            public static final Creator<LogBean> CREATOR = new Creator<LogBean>() {
                @Override
                public LogBean createFromParcel(Parcel in) {
                    return new LogBean(in);
                }

                @Override
                public LogBean[] newArray(int size) {
                    return new LogBean[size];
                }
            };

            public String getTime_name_d() {
                return time_name_d;
            }

            public void setTime_name_d(String time_name_d) {
                this.time_name_d = time_name_d;
            }

            public String getTime_name_h() {
                return time_name_h;
            }

            public void setTime_name_h(String time_name_h) {
                this.time_name_h = time_name_h;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(time_name_d);
                dest.writeString(time_name_h);
                dest.writeString(content);
            }
        }
        public static class PeiJianBean implements Parcelable{
            /**
             *   "id": "2",
             *         "proname": "螺丝",
             *         "product_num": "2",
             *         "xinghao": "",
             *         "danjia": "1",
             *         "pjdw": "个"
             */
            private String id;
            private String proname;
            private String product_num;
            private String xinghao;
            private String danjia;
            private String pjdw;

            protected PeiJianBean(Parcel in) {
                id = in.readString();
                proname = in.readString();
                product_num = in.readString();
                xinghao = in.readString();
                danjia = in.readString();
                pjdw = in.readString();
            }

            public static final Creator<PeiJianBean> CREATOR = new Creator<PeiJianBean>() {
                @Override
                public PeiJianBean createFromParcel(Parcel in) {
                    return new PeiJianBean(in);
                }

                @Override
                public PeiJianBean[] newArray(int size) {
                    return new PeiJianBean[size];
                }
            };

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getProname() {
                return proname;
            }

            public void setProname(String proname) {
                this.proname = proname;
            }

            public String getProduct_num() {
                return product_num;
            }

            public void setProduct_num(String product_num) {
                this.product_num = product_num;
            }

            public String getXinghao() {
                return xinghao;
            }

            public void setXinghao(String xinghao) {
                this.xinghao = xinghao;
            }

            public String getDanjia() {
                return danjia;
            }

            public void setDanjia(String danjia) {
                this.danjia = danjia;
            }

            public String getPjdw() {
                return pjdw;
            }

            public void setPjdw(String pjdw) {
                this.pjdw = pjdw;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(id);
                dest.writeString(proname);
                dest.writeString(product_num);
                dest.writeString(xinghao);
                dest.writeString(danjia);
                dest.writeString(pjdw);
            }
        }
        public static class ButtonData{
            private String word;
            private int button_id;

            public String getWord() {
                return word;
            }

            public void setWord(String word) {
                this.word = word;
            }

            public int getButton_id() {
                return button_id;
            }

            public void setButton_id(int button_id) {
                this.button_id = button_id;
            }
        }
    }
}
